﻿using Microsoft.Extensions.AI;
using ModelContextProtocol.Server;
using System.ComponentModel;

namespace EverythingServer.Tools;

[McpServerToolType]
public class TinyImageTool
{
    [McpServerTool(Name = "getTinyImage"), Description("Get a tiny image from the server")]
    public static IEnumerable<AIContent> GetTinyImage() => [
            new TextContent("This is a tiny image:"),
            new DataContent(MCP_TINY_IMAGE),
            new TextContent("The image above is the MCP tiny image.")
        ];

    internal const string MCP_TINY_IMAGE =
      "";
}
